From e139747e1593885bc90f2ae5427a6215475b76fd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 25 Jun 2023 12:38:32 +0100 Subject: Support globals in WASM binary format --- ...lang.compiler.testing.snapshots.Snapshotter)].expected | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..db3a53e3 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,15 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Global[2]: + - global[0] i32 mutable=1 - init i32=7 + - global[1] i64 mutable=0 - init i64=9 +Custom: + - name: "name" +Custom: + - name: "linking" + - symbol table [count=0] + +Code Disassembly: -- cgit v1.2.3